//
//  DwtExchangeFrateData.m
//  生活小助手
//
//  Created by dwt on 14-8-10.
//  Copyright (c) 2014年 lxz. All rights reserved.
//

#import "DwtExchangeRmbquotData.h"

@implementation DwtExchangeRmbquotData
-(instancetype)initWithDictionary:(NSDictionary *)dict{
    if (self=[super init]) {
        
        self.name = dict[@"name"];
        self.fBuyPri = dict[@"fBuyPri"];
        self.mBuyPri = dict[@"mBuyPri"];
        self.fSellPri = dict[@"fSellPri"];
        self.mSellPri = dict[@"mSellPri"];
        self.bankConversionPri = dict[@"bankConversionPri"];
        self.date = dict[@"date"];
        self.time = dict[@"time"];
    }
    return self;
}
+(instancetype)exchangeRmbquotDataWithDictionary:(NSDictionary *)dict{
    return [[self alloc]initWithDictionary:dict];
}
@end
